import axios from '../utils/request.js'
import base from './base.js'

const api = {
    //联系人接口
    contacts(){
        return axios.get(base.baseUrl+base.contacts)},
    friendsInfo(){
        return axios.get(base.baseUrl + base.friendsInfoUrl)//消息页面好友列表
    },
    login(params){
        return axios.post(base.baseUrl + base.login, params)//登录
    },
    data(year,mon,day){
        return axios.get(
            
            'api/huangli/date?appkey=ca60128b2ba5ea07&year='+year+'&month='+mon+'&day='+day
        )
    }
}

export default api